﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>登录验证</title>

    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>

    <script type="text/javascript">
        function newwindow(url) {
            var x = screen.availWidth - 10;
            var y = screen.availHeight - 25;

            var s = window.open(url, "_blank", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=" + x + ",height=" + y + ",top=0,left=0");

            if (!s) {
                alert("对不起， 请检查你浏览器的设置或直接跟管理员联系！");
            } else {
                s.focus();
                window.opener = null;
                window.open("", "_self", "");
                window.close();
            }
        }	 
    </script>

</head>
<body>

    <script type="text/javascript">
        newwindow(rootPath + "/");
    </script>

</body>
</html>
